﻿using Quartz;
using System.ComponentModel.DataAnnotations;

namespace XJay.Scheduler.JobEntity
{
    /// <summary>
    /// 触发器实体
    /// </summary>
    public class TriggerEntity
    {
        [Required]
        public string JobName { get; set; }
        [Required]
        public string JobGroup { get; set; }
        /// <summary>
        /// Cron表达式
        /// </summary>
        [Required]
        public string Cron { get; set; }
    }
}
